package com.alan.springbootwp.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author Alan
 * @Description
 * @date 2020年03月30日 21:50
 */

public interface MessageService {

    /**
     * 按消息类型处理请求
     * @param request
     * @param response
     * @return
     */
    String handleMessage(HttpServletRequest request, HttpServletResponse response) throws Exception;

    String emoji(int hexEmoji);

    void responseStr(HttpServletResponse response, String result) throws IOException;
}
